<%@ page language="java" contentType="application/xml" pageEncoding="UTF-8"%><%@page import="ahxu.commons.fileupload.ReportItem"%><%
String pid=request.getParameter("pid");
ReportItem item=(ReportItem)request.getSession().getAttribute(pid);
if(item==null) item=new ReportItem();
%><?xml version="1.0" encoding="UTF-8"?>
<item>
	<message><%=item.getMessage()%></message>
	<percent><%=item.computeCompletePercent()%></percent>
	<speed><%=item.computeUploadSpeed(ReportItem.UNIT_K,2)%></speed>
	<upload-size><%=item.computeUploadSize(ReportItem.UNIT_K,2)%></upload-size>
	<total-size><%=item.computeTotalSize(ReportItem.UNIT_K,2)%></total-size>
	<remain-time><%=item.computeRemainTime()%></remain-time>
	<total-time><%=item.computeTotalTime()%></total-time>
	<uploadfile-sum><%=item.getUploadFileSum()%></uploadfile-sum>
	<uploadedfile-sum><%=item.getUploadedFileSum()%></uploadedfile-sum>
</item>